Line breaking and related properties from CSS Text

Speaker:

Florian Rivoal

Edition:

CSS Day 2019 + UI Special

Date:

2019-06-14

Venue:

Compagnietheater

Wrapping text into multiple lines may seem trivial at first, but there's actually a lot of subtleties, and many possible variations. Even more so when you consider the diversity of typographical practices in various languages and writing systems, but even when you don't. Luckily, CSS has tools to help you with that. However, as there is quite a few pieces interacting together, it may not be obvious at first sight how it all fits together, and the somewhat odd naming of the properties doesn't help. In this talk, Florian Rivoal will do a tour of all the relevant properties, explain how each work, how they interact, how a few special HTML elements and unicode characters fit into this picture, and the differences in behavior associated with different languages. He will also go through some practical limitations of existing implementations and possible work arounds, and will illustrate how to put all this into practice in a number of examples.

Presentation slidesPresentation Video